﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="listpapersbyweek.aspx.vb" Inherits="MobileStandards.listpapersbyweek" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="mobilestandards.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    </div>
    <cc1:Accordion ID="Accordion1" runat="server">
    <Panes>
        <cc1:AccordionPane ID="AccordionPane1" runat="server" HeaderCssClass="accordionHeader">
        <Header>Week 3 Papers
        </Header>
        <Content> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="week3">
        <Columns>
            <asp:BoundField DataField="Author" HeaderText="Author" 
                SortExpression="Author" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Number" HeaderText="Number" 
                SortExpression="Number" />
            <asp:BoundField DataField="Hyperlink" HeaderText="Hyperlink" 
                SortExpression="Hyperlink" />
        </Columns>
    </asp:GridView></Content>
        </cc1:AccordionPane>
        <cc1:AccordionPane ID="AccordionPane2" runat="server" HeaderCssClass="accordionHeader">
        <Header>Week 4 Papers
        </Header>
        <Content> <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
        DataSourceID="week4">
        <Columns>
            <asp:BoundField DataField="Author" HeaderText="Author" 
                SortExpression="Author" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Number" HeaderText="Number" 
                SortExpression="Number" />
            <asp:BoundField DataField="Hyperlink" HeaderText="Hyperlink" 
                SortExpression="Hyperlink" />
        </Columns>
    </asp:GridView></Content>
        </cc1:AccordionPane>
        <cc1:AccordionPane ID="AccordionPane3" runat="server" HeaderCssClass="accordionHeader">
        <Header>Week 5 Papers
        </Header>
        <Content> <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
        DataSourceID="week5">
        <Columns>
            <asp:BoundField DataField="Author" HeaderText="Author" 
                SortExpression="Author" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Number" HeaderText="Number" 
                SortExpression="Number" />
            <asp:BoundField DataField="Hyperlink" HeaderText="Hyperlink" 
                SortExpression="Hyperlink" />
        </Columns>
    </asp:GridView></Content>
        </cc1:AccordionPane>
        <cc1:AccordionPane ID="AccordionPane4" runat="server" HeaderCssClass="accordionHeader" CssClass="accordionHeader">
        <Header>Week 6 Papers
        </Header>
        <Content> <asp:GridView ID="GridView4" runat="server" AutoGenerateColumns="False" 
        DataSourceID="week6">
        <Columns>
            <asp:BoundField DataField="Author" HeaderText="Author" 
                SortExpression="Author" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Number" HeaderText="Number" 
                SortExpression="Number" />
            <asp:BoundField DataField="Hyperlink" HeaderText="Hyperlink" 
                SortExpression="Hyperlink" />
        </Columns>
    </asp:GridView></Content>
        </cc1:AccordionPane>
    
    
    </Panes>
    </cc1:Accordion>
    <br />
   
    <asp:SqlDataSource ID="week3" runat="server" 
        ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\mobilestandards.accdb" 
        ProviderName="System.Data.OleDb" 
        SelectCommand="SELECT [Author], [Title], [Number], [Hyperlink] FROM [papersandweeks] WHERE ([Number] = ?)">
        <SelectParameters>
            <asp:Parameter DefaultValue="3" Name="Number" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="week4" runat="server" 
        ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\mobilestandards.accdb" 
        ProviderName="System.Data.OleDb" 
        SelectCommand="SELECT [Author], [Title], [Number], [Hyperlink] FROM [papersandweeks] WHERE ([Number] = ?)">
        <SelectParameters>
            <asp:Parameter DefaultValue="4" Name="Number" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="week5" runat="server" 
        ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\mobilestandards.accdb" 
        ProviderName="System.Data.OleDb" 
        SelectCommand="SELECT [Author], [Title], [Number], [Hyperlink] FROM [papersandweeks] WHERE ([Number] = ?)">
        <SelectParameters>
            <asp:Parameter DefaultValue="5" Name="Number" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="week6" runat="server" 
        ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\mobilestandards.accdb" 
        ProviderName="System.Data.OleDb" 
        SelectCommand="SELECT [Author], [Title], [Number], [Hyperlink] FROM [papersandweeks] WHERE ([Number] = ?)">
        <SelectParameters>
            <asp:Parameter DefaultValue="6" Name="Number" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    </form>
</body>
</html>
